﻿using Dora.Orm.Core.Domain.Entities;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Services.AdminUser.Entities
{
    /// <summary>
    /// 系统表实体对象
    /// </summary>
    [SugarTable("system_info")]
    public class SystemInfoEntity : Entity<int>
    {
        #region model

        /// <summary>
        /// 全局唯一Key
        /// </summary>
        public string SystemKey { get; set; }

        /// <summary>
        /// 系统类型;1Web项目2小程序3App
        /// </summary>
        public int SystemType { get; set; }

        /// <summary>
        /// 系统名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 系统中文缩写
        /// </summary>
        public string CnName { get; set; }

        /// <summary>
        /// 系统英文缩写
        /// </summary>
        public string EnName { get; set; }

        /// <summary>
        /// OssBucketName
        /// </summary>
        public string BucketName { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// LogoUrl;用于导航页显示
        /// </summary>
        public string LogoUrl { get; set; }

        /// <summary>
        /// 前端端口
        /// </summary>
        public int FrontPort { get; set; }

        /// <summary>
        /// 开发环境地址
        /// </summary>
        public string DevUrl { get; set; }

        /// <summary>
        /// 测试环境地址
        /// </summary>
        public string TestUrl { get; set; }

        /// <summary>
        /// 预生产环境地址
        /// </summary>
        public string PreUrl { get; set; }

        /// <summary>
        /// 生产环境地址
        /// </summary>
        public string ProUrl { get; set; }

        /// <summary>
        /// 源码管理地址
        /// </summary>
        public string CodeUrl { get; set; }

        /// <summary>
        /// 负责人Ids;半角逗号分隔
        /// </summary>
        public string HeaderIds { get; set; }

        /// <summary>
        /// 负责人名称;全角逗号分隔
        /// </summary>
        public string HeaderNames { get; set; }

        /// <summary>
        /// 排序;倒序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public short IsDeleted { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public Guid? CreatedUserId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 更新人Id
        /// </summary>
        public Guid? UpdatedUserId { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdatedUserName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }

        #endregion
        #region extend
        
        #endregion
    }
}
